package com.cnhis.cloudhealth.clinical.medical.base.service;


import com.alibaba.dubbo.config.annotation.Service;
import com.cnhis.cloudhealth.clinical.medical.base.bo.MedicalVef1Bo;
import com.cnhis.cloudhealth.clinical.medical.base.mapper.MedicalVef1;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

@Service
public class MedicalVef1Impl implements IMedicalVef1 {
    @Autowired
    private MedicalVef1Bo medicalVef1Bo;

    public MedicalVef1 save(MedicalVef1 medicalVef1) throws Exception {
        return medicalVef1Bo.save(medicalVef1);
    }

    /**
     * chengshaowei 2017/7/11 9:28
     *
     * @return com.cnhis.cloudhealth.commons.Mappers.ModelVo
     * @throws
     * @Title: findCostExecutionRecord
     * @Description: （根据费用id查询费用执行记录）
     */
    public List<Map<String, Object>> findCostExecutionRecord(Map<String, Object> map) throws Exception {
        return medicalVef1Bo.findCostExecutionRecord(map);
    }
}
